<?php 
namespace Admin\Controller;
use Admin\Controller\CommonController;

/**
 * 菜单栏管理  
 */
class NavController extends CommonController
{
	
	public function index()
	{
		// 菜单表页
		$nav_data=D('AdminNav')->getTreeData('tree','order_number desc,id');
		// dump($nav_data);
		$this->assign("data", $nav_data);
		$this->display();
	}

	public function add()
	{

		$this->display();
	}

}